home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / shadow-9.tar / shadow-9 / shadow-960129 / README.sun4 < prev    next >
Text File  |  1995-12-17  |  2KB  |  40 lines

  1. [ $Id: README.sun4,v 1.1 1995/12/16 21:51:39 marekm Exp $ ]
  2.  
  3. You'll need to do the following to get the shadow password dist to
  4. compile on a sun 4.1.1 system.
  5.  
  6. copy Makefile.sun4 to Makefile, and make any system specific changes.
  7.  
  8. copy config.h.sun4 config.h, and make any system specific changes.
  9.  
  10. You may have to edit the pwd.h.m4 file by hand, as the sunos m4 may
  11. not grok the pwd.h.m4 file corectly.  If you have the /usr/5bin/m4,
  12. substitute that.  Be sure to delete the pwd.h file before typeing 
  13. 'make' again, as there will be an empty one left from the failed attempt
  14. to use the standard sunos m4.
  15.  
  16. type 'make'.  If everything goes well, then type 'make install'
  17.  
  18. If using csh, then type 'rehash'.  cd to the /etc directory and type
  19. 'pwconv'.  This will create two files,  nshadow and npasswd.
  20. now type 'mkpasswd -f nshadow' and 'mkpasswd -f npasswd'.  This will
  21. create the shadow password file.
  22.  
  23. Note: The shadow group stuff does not work with sunos.  
  24.  
  25. Note: ftp will still use the old password file.
  26.  
  27. Note: if you run suns pcnfs, be aware that it will still be looking at the
  28.       old password file as well.  I may work out a patch for this, as I am
  29.       fairly certain the stuff on the sun side comes with source.
  30.  
  31. Note: I have compiled this package with the standard c compiler and
  32.       suns unbundled c compiler at an optomization level of 2 in
  33.       both casses.  Haven't tried gcc yet, so I don't know wether it
  34.       works.  Same goes for suns C++ compiler.
  35.  
  36. Note: has been compiled on a sun 3/75 running sunos 4.1.1.  Should compile
  37.       fine on sun 4's running 4.1.1, and may compile on suns running
  38.       4.1.  Have no idea what sort of success people will have that
  39.       are running 4.03 and older versions.
  40.